package com.unionbigdata.teaching.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("user")
@Data
public class UserEntity {

    @TableId(value =  "id",type = IdType.AUTO)
    private Long id;

    private String name;

    private Integer age;

    private Integer gender;
}
